<?php
$_SERVER['REQUEST_URI']=strtolower($_SERVER['REQUEST_URI']);
set_include_path(implode(PATH_SEPARATOR,array("../library","models",get_include_path())));

require_once 'Zend/Loader/Autoloader.php';

require_once "global.php";


$loader = Zend_Loader_Autoloader::getInstance();
$loader->setFallbackAutoloader(true);
$loader->suppressNotFoundWarnings(false);

$controller = Zend_Controller_Front::getInstance();
$controller->setControllerDirectory("controllers");
$controller->throwExceptions(true);
$controller->setParam('noViewRenderer', true);
$controller->setParam('noErrorHandler', false);

$controller->dispatch();
?>
